package com.cloud.pole.shop.model.entity.goods;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

@Table(name="shop_goods")
@Data
public class ShopGoods implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 6743513740547984907L;
	/**
     * 仅支持付款方式（0：不限制 1：在线支付  2：到店支付 3：货到付款 ）
 */
	public static final int ONLY_PAY_METHOD_UNLIMT = 0;
	public static final int ONLY_PAY_METHOD_ONLINE = 1;
	public static final int ONLY_PAY_METHOD_TO_SHOP = 3;
	public static final int ONLY_PAY_METHOD_CASH_ON_DELIVERY = 3;
	
 /**
  * 删除状态:(-1正常,1删除)
  */
	public static final int DELETE_STATUS_NO = -1;
	public static final int DELETE_STATUS_YES = 1;
	
	   /**
  * 上架状态:(1上架,-1下架)
  */
	public static final int STATUS_UP = 1;
	public static final int STATUS_DOWN = -1;
	
 /**
 * 商家推荐状态:(1推荐,-1不推荐)
 */
	public static final int RECOMMEND_STATUS_YES = 1;
	public static final int RECOMMEND_STATUS_NO  = -1;
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
    private Integer goodsId;

    private String title;

    private String simpleTitle;

    private String name;

    private String salesPromotion;

    private String mkCategoryCode;

    private String brandName;

    private Integer brandId;

    private String titleImage;

    private String mobileContent;

    private Integer shopMobileStatus;

    private Integer platformMobileStatus;

    private Integer maximumProduct;

    private Integer minimumProduct;

    private Integer postFreeNum;

    private String keyword;

    private String serviceInfo;

    private Date createTime;

    private Date modifyTime;

    private Integer goodMarkNum;

    private Integer commonMarkNum;

    private Integer badMarkNum;

    private Integer soldNum;

    private Integer showSoldNum;

    private Integer lohasUnionStatus;

    private Integer isShowAtCct;

    private Integer autonomy;

    private Integer stockStatus;

    private Integer activityStatus;

    private Integer checkStatus;

    private Integer allowOnsaleAfterCheck;

    private Integer status;

    private Integer deleteStatus;

    private Integer showStatus;

    private Integer recommendStatus;

    private Integer orderLevel;

    private Integer randomOrderLevel;

    private Integer storeOrderLevel;

    private String uncheckRemark;

    private String editRemark;

    private String message;

    private String createUserId;

    private String shopCategorys;

    private String platforms;

    private String channels;

    private Integer logiStatus;

    private String logisticsArea;

    private String platformId;

    private String unionCode;

    private Integer currentPrice;

    private String attributes;

    private Integer goodsNature;

    private Integer oringinalPrice;

    private Integer memberPrice;

    private Integer menchantPrice;

    private String categoryName;

    private Integer shopId;

    private Integer merchantId;

    private Integer onlyPayMethod;

    private String actType;

    private Integer actId;

    private String discountType;

    private Integer discountValue;

    private String description;

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getSimpleTitle() {
        return simpleTitle;
    }

    public void setSimpleTitle(String simpleTitle) {
        this.simpleTitle = simpleTitle == null ? null : simpleTitle.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getSalesPromotion() {
        return salesPromotion;
    }

    public void setSalesPromotion(String salesPromotion) {
        this.salesPromotion = salesPromotion == null ? null : salesPromotion.trim();
    }

    public String getMkCategoryCode() {
        return mkCategoryCode;
    }

    public void setMkCategoryCode(String mkCategoryCode) {
        this.mkCategoryCode = mkCategoryCode == null ? null : mkCategoryCode.trim();
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName == null ? null : brandName.trim();
    }

    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    public String getTitleImage() {
        return titleImage;
    }

    public void setTitleImage(String titleImage) {
        this.titleImage = titleImage == null ? null : titleImage.trim();
    }

    public String getMobileContent() {
        return mobileContent;
    }

    public void setMobileContent(String mobileContent) {
        this.mobileContent = mobileContent == null ? null : mobileContent.trim();
    }

    public Integer getShopMobileStatus() {
        return shopMobileStatus;
    }

    public void setShopMobileStatus(Integer shopMobileStatus) {
        this.shopMobileStatus = shopMobileStatus;
    }

    public Integer getPlatformMobileStatus() {
        return platformMobileStatus;
    }

    public void setPlatformMobileStatus(Integer platformMobileStatus) {
        this.platformMobileStatus = platformMobileStatus;
    }

    public Integer getMaximumProduct() {
        return maximumProduct;
    }

    public void setMaximumProduct(Integer maximumProduct) {
        this.maximumProduct = maximumProduct;
    }

    public Integer getMinimumProduct() {
        return minimumProduct;
    }

    public void setMinimumProduct(Integer minimumProduct) {
        this.minimumProduct = minimumProduct;
    }

    public Integer getPostFreeNum() {
        return postFreeNum;
    }

    public void setPostFreeNum(Integer postFreeNum) {
        this.postFreeNum = postFreeNum;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword == null ? null : keyword.trim();
    }

    public String getServiceInfo() {
        return serviceInfo;
    }

    public void setServiceInfo(String serviceInfo) {
        this.serviceInfo = serviceInfo == null ? null : serviceInfo.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getGoodMarkNum() {
        return goodMarkNum;
    }

    public void setGoodMarkNum(Integer goodMarkNum) {
        this.goodMarkNum = goodMarkNum;
    }

    public Integer getCommonMarkNum() {
        return commonMarkNum;
    }

    public void setCommonMarkNum(Integer commonMarkNum) {
        this.commonMarkNum = commonMarkNum;
    }

    public Integer getBadMarkNum() {
        return badMarkNum;
    }

    public void setBadMarkNum(Integer badMarkNum) {
        this.badMarkNum = badMarkNum;
    }

    public Integer getSoldNum() {
        return soldNum;
    }

    public void setSoldNum(Integer soldNum) {
        this.soldNum = soldNum;
    }

    public Integer getShowSoldNum() {
        return showSoldNum;
    }

    public void setShowSoldNum(Integer showSoldNum) {
        this.showSoldNum = showSoldNum;
    }

    public Integer getLohasUnionStatus() {
        return lohasUnionStatus;
    }

    public void setLohasUnionStatus(Integer lohasUnionStatus) {
        this.lohasUnionStatus = lohasUnionStatus;
    }

    public Integer getIsShowAtCct() {
        return isShowAtCct;
    }

    public void setIsShowAtCct(Integer isShowAtCct) {
        this.isShowAtCct = isShowAtCct;
    }

    public Integer getAutonomy() {
        return autonomy;
    }

    public void setAutonomy(Integer autonomy) {
        this.autonomy = autonomy;
    }

    public Integer getStockStatus() {
        return stockStatus;
    }

    public void setStockStatus(Integer stockStatus) {
        this.stockStatus = stockStatus;
    }

    public Integer getActivityStatus() {
        return activityStatus;
    }

    public void setActivityStatus(Integer activityStatus) {
        this.activityStatus = activityStatus;
    }

    public Integer getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(Integer checkStatus) {
        this.checkStatus = checkStatus;
    }

    public Integer getAllowOnsaleAfterCheck() {
        return allowOnsaleAfterCheck;
    }

    public void setAllowOnsaleAfterCheck(Integer allowOnsaleAfterCheck) {
        this.allowOnsaleAfterCheck = allowOnsaleAfterCheck;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(Integer deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public Integer getShowStatus() {
        return showStatus;
    }

    public void setShowStatus(Integer showStatus) {
        this.showStatus = showStatus;
    }

    public Integer getRecommendStatus() {
        return recommendStatus;
    }

    public void setRecommendStatus(Integer recommendStatus) {
        this.recommendStatus = recommendStatus;
    }

    public Integer getOrderLevel() {
        return orderLevel;
    }

    public void setOrderLevel(Integer orderLevel) {
        this.orderLevel = orderLevel;
    }

    public Integer getRandomOrderLevel() {
        return randomOrderLevel;
    }

    public void setRandomOrderLevel(Integer randomOrderLevel) {
        this.randomOrderLevel = randomOrderLevel;
    }

    public Integer getStoreOrderLevel() {
        return storeOrderLevel;
    }

    public void setStoreOrderLevel(Integer storeOrderLevel) {
        this.storeOrderLevel = storeOrderLevel;
    }

    public String getUncheckRemark() {
        return uncheckRemark;
    }

    public void setUncheckRemark(String uncheckRemark) {
        this.uncheckRemark = uncheckRemark == null ? null : uncheckRemark.trim();
    }

    public String getEditRemark() {
        return editRemark;
    }

    public void setEditRemark(String editRemark) {
        this.editRemark = editRemark == null ? null : editRemark.trim();
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message == null ? null : message.trim();
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public String getShopCategorys() {
        return shopCategorys;
    }

    public void setShopCategorys(String shopCategorys) {
        this.shopCategorys = shopCategorys == null ? null : shopCategorys.trim();
    }

    public String getPlatforms() {
        return platforms;
    }

    public void setPlatforms(String platforms) {
        this.platforms = platforms == null ? null : platforms.trim();
    }

    public String getChannels() {
        return channels;
    }

    public void setChannels(String channels) {
        this.channels = channels == null ? null : channels.trim();
    }

    public Integer getLogiStatus() {
        return logiStatus;
    }

    public void setLogiStatus(Integer logiStatus) {
        this.logiStatus = logiStatus;
    }

    public String getLogisticsArea() {
        return logisticsArea;
    }

    public void setLogisticsArea(String logisticsArea) {
        this.logisticsArea = logisticsArea == null ? null : logisticsArea.trim();
    }

    public String getPlatformId() {
        return platformId;
    }

    public void setPlatformId(String platformId) {
        this.platformId = platformId == null ? null : platformId.trim();
    }

    public String getUnionCode() {
        return unionCode;
    }

    public void setUnionCode(String unionCode) {
        this.unionCode = unionCode == null ? null : unionCode.trim();
    }

    public Integer getCurrentPrice() {
        return currentPrice;
    }

    public void setCurrentPrice(Integer currentPrice) {
        this.currentPrice = currentPrice;
    }

    public String getAttributes() {
        return attributes;
    }

    public void setAttributes(String attributes) {
        this.attributes = attributes == null ? null : attributes.trim();
    }

    public Integer getGoodsNature() {
        return goodsNature;
    }

    public void setGoodsNature(Integer goodsNature) {
        this.goodsNature = goodsNature;
    }

    public Integer getOringinalPrice() {
        return oringinalPrice;
    }

    public void setOringinalPrice(Integer oringinalPrice) {
        this.oringinalPrice = oringinalPrice;
    }

    public Integer getMemberPrice() {
        return memberPrice;
    }

    public void setMemberPrice(Integer memberPrice) {
        this.memberPrice = memberPrice;
    }

    public Integer getMenchantPrice() {
        return menchantPrice;
    }

    public void setMenchantPrice(Integer menchantPrice) {
        this.menchantPrice = menchantPrice;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName == null ? null : categoryName.trim();
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

    public Integer getOnlyPayMethod() {
        return onlyPayMethod;
    }

    public void setOnlyPayMethod(Integer onlyPayMethod) {
        this.onlyPayMethod = onlyPayMethod;
    }

    public String getActType() {
        return actType;
    }

    public void setActType(String actType) {
        this.actType = actType == null ? null : actType.trim();
    }

    public Integer getActId() {
        return actId;
    }

    public void setActId(Integer actId) {
        this.actId = actId;
    }

    public String getDiscountType() {
        return discountType;
    }

    public void setDiscountType(String discountType) {
        this.discountType = discountType == null ? null : discountType.trim();
    }

    public Integer getDiscountValue() {
        return discountValue;
    }

    public void setDiscountValue(Integer discountValue) {
        this.discountValue = discountValue;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }
}